package model;

public class Purchase {

	private int ID;
	private int amount;
	private double price;
	private String date;
	private ContactPerson cp;
	private Product p;
	private Employee e;
	
	//Constructoren for purchase
	public Purchase(int amount, double price, Employee e, ContactPerson cp, Product p){
		this.amount = amount;
		this.price = price;
		this.e = e;
		this.p = p;
		this.cp = cp;
	}

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public ContactPerson getCp() {
		return cp;
	}

	public void setCp(ContactPerson cp) {
		this.cp = cp;
	}

	public Product getP() {
		return p;
	}

	public void setP(Product p) {
		this.p = p;
	}

	public Employee getE() {
		return e;
	}

	public void setE(Employee e) {
		this.e = e;
	}
	
	
}
